Skip to content

non_float arrays are addrarrays #3973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 27, 2025
Merged

Conversation

dkalinichenko-js
Copy link
Collaborator

@dkalinichenko-js dkalinichenko-js commented May 6, 2025

Make arrays of non_float values always at least addrarrays.

This seems like a both valuable and a relatively safe change. This reuses an existing optimization we have for records, variants and other non-float types, but keeps it functioning even when the element type is abstract and we only have a kind annotation.

@dkalinichenko-js dkalinichenko-js force-pushed the dkalinichenko/separability-axis branch 2 times, most recently from fce7b48 to 8a8d570 Compare May 15, 2025 16:33
Base automatically changed from dkalinichenko/separability-axis to main May 16, 2025 16:56
@dkalinichenko-js dkalinichenko-js force-pushed the dkalinichenko/non-float-arrays branch from 3be8039 to 254299f Compare May 16, 2025 18:40
@dkalinichenko-js dkalinichenko-js marked this pull request as ready for review May 16, 2025 19:01
@goldfirere
Copy link
Collaborator

I've read through this and it looks good to me... but I think I'd like further opinions before merging this potentially dangerous patch. I think it's worth some discussion. Maybe post on Slack eliciting opinions?

@dkalinichenko-js dkalinichenko-js enabled auto-merge (squash) May 27, 2025 17:28
Copy link
Collaborator

@goldfirere goldfirere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've done more testing and feel more confident now.

@dkalinichenko-js dkalinichenko-js merged commit 5a1ff52 into main May 27, 2025
28 checks passed
@dkalinichenko-js dkalinichenko-js deleted the dkalinichenko/non-float-arrays branch May 27, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants